#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);cin.tie(nullptr);
    int T; cin >> T;
    int cnt;
    while(T--){
        cnt = 0;
        bool even = false;
        int n; cin >> n;
        while(n--){
            int in; cin >> in;
            if(in %2 == 1) ++cnt;
            else even = true;
        }
        if((even && cnt) || (!even && cnt %2 == 1))
            cout << "YES\n";
        else cout << "NO\n";
    }
    return 0;
}